import { request } from '@/utils/http';

const PUTPERSON = '/users/person';
const GETPERSON = '/users/person';

export const putPerson = (data: any) => {
  return request.put(PUTPERSON, data, { withCredentials: true });
};

export const getPerson = (data = {}) => {
  return request.get(GETPERSON, data);
};
